home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / GRAPTIES / SHOW2.LZH / INSTALL.BAT next >
DOS Batch File  |  1991-09-06  |  721b  |  35 lines

  1. @echo off
  2. set srcdrv=A
  3. set tgtdrv=C
  4. set tgtdir=\SPLITE
  5. if "%3" == "" goto x3
  6. set srcdrv=%1
  7. set tgtsrv=%2
  8. set tgtdir=%3
  9. goto x4
  10. :x3
  11. if "%2" == "" goto x2
  12. set srcdrv=%1
  13. set tgtsrv=%2
  14. goto x4
  15. :x2
  16. if "%1" == "" goto x4
  17. set tgtdrv=%1
  18. :x4
  19. echo ......... About to install Show Partner Lite from %srcdrv%: to %tgtdrv%:%tgtdir%
  20. echo .........
  21. echo ......... If this is not correct, press CTRL-BREAK now and use:
  22. echo .........
  23. echo .........     INSTALL [source floppy] [target hard drive] [target dir]
  24. echo .........
  25. echo .........        Example: INSTALL B D \APPS\SPLITE
  26. echo .........
  27. pause
  28. %tgtdrv%:
  29. md %tgtdir% >nul
  30. cd %tgtdir%
  31. copy %srcdrv%:spinst2.bat
  32. copy %srcdrv%:pkunzip.exe
  33. spinst2
  34.  
  35.